{
 "cells": [
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-04-12T13:16:27.432760Z",
     "start_time": "2025-04-12T13:16:27.407293Z"
    }
   },
   "cell_type": "code",
   "source": [
    "import pandas as pd\n",
    "import numpy as np\n",
    "\n",
    "data = {\n",
    "    'size': ['xl','xxl','L',\"M\",'np.nan','M'],\n",
    "    'color': ['red','green','blue','yellow','black','np.nan'],\n",
    "    'gender': ['male','female','male','female','male','male'],\n",
    "    'price': [199,200,90.9,89.00,90,76],\n",
    "    'bought':['yes','no','yes','no','yes','no'],\n",
    "}\n",
    "\n",
    "df = pd.DataFrame(data)\n",
    "\n",
    "print(df)"
   ],
   "id": "b733a9c1af4abe8f",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "     size   color  gender  price bought\n",
      "0      xl     red    male  199.0    yes\n",
      "1     xxl   green  female  200.0     no\n",
      "2       L    blue    male   90.9    yes\n",
      "3       M  yellow  female   89.0     no\n",
      "4  np.nan   black    male   90.0    yes\n",
      "5       M  np.nan    male   76.0     no\n"
     ]
    }
   ],
   "execution_count": 9
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
